package com.ruoyi.activemq;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: zhengxiong.jiang
 * @createDate: 2023/2/9
 * @version: 1.0
 */
//我的控制器
@RestController
@RequestMapping("/mq")
public class MyController {


//    @Autowired
//    private MyProducer myProducer;
//
//    @RequestMapping("/testQueue")
//    public String sendQueue(String msg){
//        myProducer.sendQueue2(msg);
//        return "queue success";
//    }
//
//    @RequestMapping("/testTopic")
//    public String sendTopic(String msg){
//        myProducer.sendTopic(msg);
//        return "topic success";
//    }




}
